package com.example.demo.test;

import com.alibaba.fastjson.JSON;
import com.example.demo.pojo.vo.CardNotifyVO;

import java.time.LocalDateTime;

/**
 * @description 时间测试
 *
 * @author lilinchun
 * @date 2023/09/21
 */
public class demo6 {

    public static void main(String[] args) {
        CardNotifyVO cardNotifyVO=new CardNotifyVO();
        cardNotifyVO.setTriggerTime(LocalDateTime.now())
                .setIsFriend(true);
        System.out.println(JSON.toJSONString(cardNotifyVO));
    }
}
